package com.common.datatimepicker;

import android.content.Context;

import org.feezu.liuli.timeselector.TimeSelector;

/**
 * @author mrwim
 * @version 1.0
 * @since 2018-09-17
 */
public class DatePickerUtil {
    public static MyTimeSelector getDatePickerDialog(Context context,String title,DateTimePickerHandle dateTimePickerHandle,String start,String end){
        MyTimeSelector timeSelector=new MyTimeSelector(context,dateTimePickerHandle,start,end);
        timeSelector.setMode(TimeSelector.MODE.YMD);
        timeSelector.setTitle(title);
        return timeSelector ;
    }
}
